﻿{extend name="base" /}

{block name="body"}


<div class="space-custom"></div>
<!-- breadcrumb start -->
<div class="breadcrumb-area">
	<div class="container">
		<ol class="breadcrumb">
			<li><a href="{:url('home/index/index')}"><i class="fa fa-home"></i></a></li>
			<li class="active">用户登陆</li>
		</ol>
	</div>
</div>
<!-- breadcrumb end -->


<div class="banner-area pt-70">
	<div class="container">

		<div class="" align="center">
			<h2>用户登陆</h2>
		</div>


		<form class="form-horizontal ajax-form"  method="post" action="{:url('loginProc')}" >

			<div class="row box-ota-info">
				<div class="col-md-12">
					<div class="box-body">


						<div class="form-group">
							<div class="col-sm-2"></div>
						</div>

						<div class="form-group">
							<label class="col-sm-2 control-label">帐号</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="username" placeholder="请输入用户帐号或者邮箱" value="" />
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-2 control-label">密码</label>
							<div class="col-sm-8">
								<input type="password" class="form-control" name="password" placeholder="请输入密码" value="" />
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-2 control-label">验证码</label>
							<div class="col-sm-6">
								<input type="text" name="verify" class="verify form-control" placeholder="验证码" />
							</div>
							<div class="col-sm-2" align="center">
								<img src="{:captcha_src()}" alt="验证码" title="点击更换" onclick="this.src='{:captcha_src()}?time='+Math.random()" class="captcha img-responsive img-thumbnail center-block">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label"><a href="www.baidu.com" target="_blank">立即注册</a></label>
							<label class="col-sm-2 control-label"><a href="www.baidu.com" target="_blank">忘记密码</a></label>
							<div class="col-xs-5">
								<button type="button"  class="btn btn-primary btn-block btn-flat submit-login">登陆</button>
							</div>
						</div>

					</div>
				</div>
			</div>
		</form>


	</div>

</div>




{/block}

{block name="script"}
	<script type="text/javascript" src="__HJS__/login/index.js"></script>
{/block}